<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>07自定义时间</title>
</head>
<body>
<script>
    var date = new Date("2016/09/11");
    console.log(date.getFullYear());
</script>
</body>
</html>